package qianting.news.article.service;

import qianting.news.apis.models.comment.dtos.CommentDto;
import qianting.news.apis.models.comment.dtos.CommentLikeDto;
import qianting.news.apis.models.comment.dtos.CommentSaveDto;
import qianting.news.common.entity.State;

public interface CommentService {

    /**
     * 保存评论
     * @param dto
     * @return
     */
    public State saveComment(CommentSaveDto dto);

    /**
     * 点赞
     * @param dto
     * @return
     */
    public State like(CommentLikeDto dto);

    /**
     * 加载评论列表
     * @param dto
     * @return
     */
    public State findByArticleId(CommentDto dto);


}
